package com.dq.repository.evaluation;


import com.dq.domain.evaluation.OrgTemplate;
import com.dq.domain.sys.section.SysSection;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author luchangtong
 * @Date 2020/3/17 15:46
 */
@Repository
public interface OrgTemplateRepository extends JpaRepository<OrgTemplate,Long> {
    List<OrgTemplate> findByDeletedFalseAndSysDeptOrderByEvaluationTemplateSortAsc(SysSection section);
}
